class Circle{
    Point center;
    double radius;
    Circle(Point a,double c){
        center=a;
        radius=c;
    }
    double getArea() {
        double s=Math.PI*radius*radius;
        return s;
    }
    Boolean point_in_circle(Circle circle,Point point) {
        double a=Math.sqrt((center.x-point.x)*(center.x-point.x)+(center.y-point.y)*(center.y-point.y));
        if(a<circle.radius)
            return true;
        else
            return false;
    }
}


public class Circle2_4 {
    public static void main(String args[]) {
        Point poi=new Point(0,0);
        Circle cir=new Circle(poi,2);
        System.out.println(cir.getArea());
        Point aaa=new Point(1,1);
        Circle ccc=new Circle(poi,2);
        Boolean b=ccc.point_in_circle(ccc,aaa);
        System.out.println(b);
        System.out.println("2205020109");
        System.out.println("贺雪纯");
    }
}
